menu button: Improve accessibility
authorMatthias Clasen <mclasen@redhat.com>
Fri, 13 Mar 2015 22:38:18 +0000 (18:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 13 Mar 2015 22:38:18 +0000 (18:38 -0400)
commitfec8a1ee7fb40a4739a6b12eb2bb211a60c69b08
treee60633b90a6bcbb7feb998f437ee772caa66c213
parent98730f71f941e886c2c0334cac0cb1a6c95c701f
menu button: Improve accessibility

Rework the way we assign an accessible name to menu buttons,
to make sure we pick up a label, should the button contain
one, and only override the name with "Menu" as a fallback.
gtk/a11y/gtkmenubuttonaccessible.c
gtk/gtkmenubutton.c
po/POTFILES.in